-- GENERATED SPELL FOR [Warsong Caravan Guard] --


function spell0_25338(pUnit, Event) --@Strike,n/a--
pUnit:FullCastSpellOnTarget(11976,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_25338', 644, 1)
end

function Sorts_25338(pUnit, Event)
local choix_sorts_25338 = math.random(0, 0)
if choix_sorts_25338 == 0 then
pUnit:RegisterEvent('spell0_25338', 1, 1)
end
end

function mob25338_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_25338', math.random(1500, 3000), 1)
end

function mob25338_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25338_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25338_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(25338, 1, 'mob25338_Action')
RegisterUnitEvent(25338, 2, 'mob25338_Leave')
RegisterUnitEvent(25338, 3, 'mob25338_Kill')
RegisterUnitEvent(25338, 4, 'mob25338_Die')
